<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<meta name="renderer" content="webkit">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title></title>
<meta name="keywords" content="" />
<meta name="description" content="" />
<link rel="stylesheet" type="text/css" href="__PUBLIC__/css/bootstrap.css">
<link href="__PUBLIC__/css/list_food.css"  rel="stylesheet"/>
<link rel="stylesheet" type="text/css" href="__PUBLIC__/fq_8101.css">
<script src="__PUBLIC__/js/jquery.min.js" type="text/javascript" charset="utf-8"></script>
<script src="__PUBLIC__/js/addHospital.js" type="text/javascript" charset="utf-8"></script>
<!--<script type="text/javascript" src="http://www.snsnb.com/statics/js/list_food_login.js"></script>
<script src="http://www.snsnb.com/statics/js/list_food.js" type="text/javascript" charset="utf-8"></script>
-->
<script>
        var getCityListUrl = '{:U("Index/getCityByProId")}';
        var getHosListUrl = '{:U("Index/getHospitalByCityId")}';
        var getHosProListUrl = '{:U("Index/getHospitalByProId")}';
</script>
</head>
<body  data-spy="scroll" data-target="#myScrollspy">
  <div class="haha">
    <div class="container">
    <div id="lb_list">
    </div>
      <div class="row hahd">
        <h2 class="text-center">医生信息提交</h2>
        <div class="col-sm-12">
          <div class="hahc">
            <div class="row hahe">
              <div class="col-sm-12">
                <form class="form-horizontal" method="post" action="{:U('Index/addDocForm')}">
                  <div class="form-group">
                    <label class="col-sm-3 control-label">医生名称：</label>
                    <div class="col-sm-5">
                      <input type="text" name="doc_name" class="form-control" placeholder="请填入医生名称">
                    </div>
                  </div>
                  <div class="form-group">
                    <label class="col-sm-3 control-label">职　　称：</label>
                    <div class="col-sm-5">
                      <input type="text" name="doc_title" class="form-control" placeholder="请填入医生职称">
                    </div>
                  </div>
                  <div class="form-group">
                    <label class="col-sm-3 control-label">擅　　长：</label>
                    <div class="col-sm-5">
                      <textarea name="doc_goodat"  class="form-control" cols="30" rows="10" placeholder="请输入医生擅长"></textarea>
                    </div>
                  </div>
                  <div class="form-group">
                    <label class="col-sm-3 control-label ">医院省市： </label>
                    <div class="col-sm-2">
                      <select class="form-control"  name="province" id="province">
                        <foreach name="provinceList" item="provinceList">
                        <option value="{$provinceList.pro_id}">{$provinceList.pro_name}</option>
                        </foreach>
                      </select>
                    </div>
                    <div class="col-sm-2">
                      <select class="form-control"  name="city" id="city">
                        <foreach name="cityList" item="cityList">
                        <option value="{$cityList.city_id}">{$cityList.city_name}</option>
                        </foreach>
                      </select>
                    </div>
                  </div>
                  <div class="form-group">
                    <label class="col-sm-3 control-label">医　　院：</label>
                    <div class="col-sm-5">
                      <select name="doc_hos" id="hospital" class="form-control">
                        <foreach name="hospitalList" item="hospitalList">
                        <option value="{$hospitalList.hos_id}">{$hospitalList.hos_name}</option>
                        </foreach>
                      </select>
                    </div>
                  </div>
                  <div class="form-group">
                    <label class="col-sm-3 control-label">科　　室：</label>
                    <div class="col-sm-5">
                      <input type="text" name="doc_office" class="form-control" placeholder="请填入科室名称">
                    </div>
                  </div>
                  <div class="form-group">
                    <label class="col-sm-3 control-label">详细介绍：</label>
                    <div class="col-sm-5">
                      <textarea name="doc_detail"  class="form-control" cols="30" rows="10" placeholder="请输入医生详细介绍"></textarea>
                    </div>
                  </div>
                  <div class="form-group">
                    <label class="col-sm-3 control-label">就诊评价：</label>
                    <div class="col-sm-5">
                      <textarea name="doc_comment"  class="form-control" cols="30" rows="10" placeholder="请输入医生就诊评价"></textarea>
                    </div>
                  </div>
                  <div class="col-sm-4 col-sm-offset-3">
                    <button class="btn btn-success btn-block" type="submit">提交信息</button>
                  </div>
                </form>
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
  <!-- 百科改版 201503 end -->
  <a style="overflow: hidden;" id="gotopbtn">top</a>
  <style type="text/css">
                        .new_footer {float: left;width: 100%;  background: #fcfcfc; border-top: 1px solid #ccc; padding-top: 20px; padding-bottom: 10px; }
              #new_footer { padding: 15px 0px 25px; margin: 0px auto; color: #4B4B4B; text-align: center; font: 12px/22px tahoma, arial, 宋体, sans-serif;}
                        a#gotopbtn { text-transform:uppercase; height:50px; width:50px; line-height:50px; text-align:center;background-color: #78C6AF; position:fixed; display:block; bottom:20px; right:100px; color:#fff; font-size:16px; font-weight:bold; font-family:"Microsoft Yahei";background-position:left top, left top; background-repeat:repeat, repeat;  display:none ;_position:absolute;}
              a#gotopbtn:hover { background-color:#FA7D5F; color:#fff; background-position:left top; background-repeat:repeat; cursor:pointer; text-decoration:none; }
              .hidden { display:none; }
  </style>
  <script>
              var backTop = function(btnId){
                  var btn = document.getElementById(btnId);
                  var d = document.documentElement || document.body;
                  window.onscroll = set;
                  btn.onclick = function () {
                      btn.style.display = "none";
                      window.onscroll = null;
                      this.timer = setInterval(function () {
          //console.log(document.body.scrollTop)
          //console.log(document.documentElement.scrollTop)
                          if( document.body.scrollTop ){
                              document.body.scrollTop -= Math.ceil(document.body.scrollTop * 0.1);
                          }else{
                              document.documentElement.scrollTop -= Math.ceil(document.documentElement.scrollTop * 0.1);
                          }
                          if (document.body.scrollTop == 1) clearInterval(btn.timer), window.onscroll = set, document.body.scrollTop = 0;
                          if (document.documentElement.scrollTop == 1) clearInterval(btn.timer), window.onscroll = set, document.documentElement.scrollTop = 0;
                      }, 10);
                  };
                  function set() { btn.style.display = (document.documentElement.scrollTop || document.body.scrollTop) ? 'block' : "none" }
              };
              backTop('gotopbtn');
  </script>
</body>
</html>